package com.xszx.entity;

public class Goods {
    private Integer gid;//  货物id
    private String code;// 货物批次
    private String name;//  货物名称
    private String type;// 货物类型
    private Integer initNum;//入库数量
    private Integer nowNum;//  货物数量
    private Integer money;// 货物价格
    private String state;// 货物状态
    private Integer time;//  货物存放时间
    private  Integer area;//单个货物面积
    private String rCode;//区域编号

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getInitNum() {
        return initNum;
    }

    public void setInitNum(Integer initNum) {
        this.initNum = initNum;
    }

    public Integer getNowNum() {
        return nowNum;
    }

    public void setNowNum(Integer nowNum) {
        this.nowNum = nowNum;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public String getrCode() {
        return rCode;
    }

    public void setrCode(String rCode) {
        this.rCode = rCode;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "gid=" + gid +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", initNum=" + initNum +
                ", nowNum=" + nowNum +
                ", money=" + money +
                ", state='" + state + '\'' +
                ", time=" + time +
                ", area=" + area +
                ", rCode='" + rCode + '\'' +
                '}';
    }
}
